﻿using System;
using System.Collections.Generic;
using System.Text;
using OgilvyOne.Model;
using System.Collections;

namespace OgilvyOne.IDAL
{
    public interface ILogin
    {
        /// <summary>
        /// 登录
        /// </summary>
        /// <param name="username">用户名</param>
        /// <param name="password">密码</param>
        /// <returns></returns>
        UsersModel login(string username, string password);

        
        /// <summary>
        /// 所有内容栏目
        /// </summary>
        /// <returns></returns>
        IList getColumnList();
        /// <summary>
        /// 所有系统栏目
        /// </summary>
        /// <returns></returns>
        IList getSysColumnList();
    }
}
